<?php

class building {
  
  private $id;
  private $periority;
  private $capacity;
  private $pattern;
  private $resdient_kind;
  private $number_rooms;

  public function set_number_rooms($num_room){
      $this->number_rooms=$num_room;
  }
  public function get_num_rooms() {
      return $this->number_rooms;
  }

  public function set_id($id){
      $this->id=$id;
      
  }
  public function get_id(){
      return $this->id;
  }
  
    public function set_periority($periority){
        $this->periority=$periority;
        
    }
    public function get_periority(){
        
        return $this->periority;
    }
    public function set_capacity($capacity){
        $this->capacity=$capacity;
        
    }
    public function get_capacity(){
        return $this->capacity;
        
    }
    public function set_pattern($pattern){
        $this->pattern=$pattern; 
        
    }
    public function get_pattern(){
        return $this->pattern;
        
    } 
  public function set_resdient_kind($resdient_kind){
      $this->resdient_kind=$resdient_kind;
      
  }
  public function get_resdient_kind(){
      return $this->resdient_kind;
  }
  
   public function set_building_resident_kind($resdient_kind){
      $this->resdient_kind=$resdient_kind;
      
  }
  public function get_building_resident_kind(){
      return $this->resdient_kind;
  }
  
}

?>
